package website.lucaswork.survey.core.dtos;

import java.io.Serializable;
import java.time.LocalDate;

public class UserDTO implements Serializable {
	private String username;
	private String email;
    private LocalDate registerTime;
    private Boolean isAdmin;
    private Boolean isActive;

    public Boolean isActive() {
        return isActive;
    }

    public void setActive(Boolean active) {
        isActive = active;
    }

    public Boolean isAdmin() {
        return isAdmin;
    }

    public void setAdmin(Boolean admin) {
        isAdmin = admin;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setRegisterTime(LocalDate registerTime) {
        this.registerTime = registerTime;
    }

    public String getUsername() {
        return username;
    }

    public String getEmail() {
        return email;
    }

    public LocalDate getRegisterTime() {
        return registerTime;
    }
}
